import App from './App'
import dbUtils from "@/uni_modules/zjy-sqlite-manage/components/zjy-sqlite-manage/dbUtils.js"

// #ifndef VUE3
import Vue from 'vue'
import uView from '@/uni_modules/uview-ui'

Vue.use(uView)

import './uni.promisify.adaptor'
Vue.config.productionTip = false
// Vue2
Vue.prototype.$dbUtils = dbUtils 
import excelDev from '@/static/excelDev.js'

// 挂载到vue原型上
Vue.prototype.$excelDev = excelDev

App.mpType = 'app'
const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  // Vue3
  app.config.globalProperties.$dbUtils = dbUtils;

  return {
    app
  }
}
// #endif